package com.tiny.persistence.repository.impl;

import java.util.List;
import java.util.Map;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.apache.log4j.Logger;

   
public class BaseRepoImpl<T> {

	private static Logger logger = Logger.getLogger(BaseRepoImpl.class);
	
	@PersistenceContext
    protected EntityManager em;
	
	public List<T> getListByCondition(Map<String, Object> condition) {
		
		logger.info("BaseRepoImpl no special implement. return null");
		return null;
	}
	
	public int getCountByCondition(Map<String, Object> condition) {
		
		logger.info("BaseRepoImpl no special implement. return null");
		return 0;
	}


}
